﻿<Window x:Class="CloudObserverService.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"  WindowStyle="SingleBorderWindow" SizeToContent="WidthAndHeight">
   
    <Grid>
       
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <TextBlock Margin="5">Query:</TextBlock>
            <ComboBox SelectionChanged="query_SelectionChanged" x:Name="query" Width="150">
                <ComboBoxItem>Custom</ComboBoxItem>
                <ComboBoxItem>Eindhoven</ComboBoxItem>
                <ComboBoxItem>Cannes</ComboBoxItem>
            </ComboBox>
            <TextBox IsEnabled="False" x:Name="customQuery" Width="150"></TextBox>

            <TextBlock Margin="5">Max count:</TextBlock>
            <TextBox x:Name="count" Width="40">50</TextBox>
            <TextBlock Margin="5">Duration (minutes):</TextBlock>
            <TextBox x:Name="duration" Width="40">600</TextBox>
            <Button Margin="3" Click="observe_Click" Width="100"  x:Name="observe" FontWeight="Bold">Observe</Button>
            
        </StackPanel>
        <StackPanel Margin="5" Grid.Row="1" >
            <TextBlock>Status:</TextBlock>
            <TextBlock MinHeight="25" x:Name="status" FontStyle="Italic"></TextBlock>
        </StackPanel>
        
    </Grid>
</Window>
